﻿using Budget.Dao;
using Budget.Model;
using System.Collections.Generic;

namespace Budget.Service
{
    public class ProjectService
    {
        readonly ProjectDao projectDao = new ProjectDao();

        public void Insert(Project project)
        {
            //projectDao.Insert(project);
        }

        public void Update(Project project)
        {
            //projectDao.Update(project);
        }

        public void Datele(string id)
        {
            //projectDao.Delete(id);
        }

        public List<Project> GetProjects(string adminId, int pageIndex, int pageSize)
        {
            return projectDao.GetProjects(adminId, pageIndex, pageSize);
        }
    }
}
